/**
 * 服务实现样例
 */
package demo

import (
	s "gitee.com/xiaoa7/jsetl/service"
)

type (
	DemoService struct{}
)

// 注册服务
func RegisteService(key string) {
	s.RegisteService(key, &DemoService{})
}

//实现ServcieFace接口

func (d *DemoService) Connect(key string, p ...string) error {
	return nil
}

func (d *DemoService) Destory() error {
	return nil
}
